package constants

// 调试日志配置
var DEBUG = true

const (
	CacheUserTokenPre = "API353_USER_TOKEN_"
	EnableYes         = 1
	UserTypeAdmin     = 1
)

// 订单状态
const (
	ORDER_STATE_ONGOING = 1
	ORDER_STATE_SUCCESS = 2
	ORDER_STATE_CANCEL  = 3
	ORDER_STATE_PENDING = 4
	ORDER_STATE_FAIL    = 5
)

// 支付方式状态
const (
	PAY_CHANNEL_STATUS_OPEN   = 1
	PAY_CHANNEL_STATUS_CLOSED = 0
)

// 支付通道状态
const (
	PAY_CONF_STATUS_OPEN   = 1
	PAY_CONF_STATUS_CLOSED = 0
)

// 订单类型
const (
	PAY_MODE_PAY  = 1
	PAY_MODE_DRAW = 2
)

// 记录状态
const (
	PAY_TRY_SUCCESS = 0
	PAY_TRY_FAILURE = 1
)

// 推送类型
const (
	NOTIFY_TYPE_RECHARGE = 6
)

// 商品状态
const (
	PAY_SHOP_ENABLED = 1
	PAY_SHOP_CLOSED  = 0
)

// 人员状态
const (
	USER_STATUS_ENABLED  = 1
	USER_STATUS_DISABLED = 0
)

// 订单类型
const (
	PAY_MODE_DRAW_TYPE = "9"
	PAY_MODE_PAY_TYPE  = "6"
)

// 任务类型
const (
	TASK_EDIT_PROFILE = "1"
)

// 人员类型
const (
	USER_TYPE_ROBOT = "0"
	USER_TYPE_GUEST = "1"
	USER_TYPE_FACEBOOK = "2"
)